//
//  NewsFeed.m
//  Mecca
//
//  Created by Ryan Enguero on 6/3/14.
//  Copyright (c) 2014 TapDash Heuristics. All rights reserved.
//

#import "NewsFeed.h"

@implementation NewsFeed

- (NSString*) articleID{

    return _articleIDStr;
}

- (NSString*) articleImg{

    return _articleImgStr;
}

- (NSString*) articleTitle{

    return _articleTitleStr;
}

- (NSString*) description{

    return _descriptionStr;
}

- (NSString*) dateTracked{

    return _dateTrackedStr;
}

+ (instancetype)newsFeedArticleWithID:(NSString*)articleID andImage:(NSString*)img andTitle:(NSString*)title andDescription:(NSString*)description andDateTracked:(NSString*)dateTracked{

    NewsFeed *newsFeed = [[self alloc] init];
    
    newsFeed.articleIDStr = articleID;
    newsFeed.articleImgStr = img;
    newsFeed.articleTitleStr = title;
    newsFeed.descriptionStr = description;
    newsFeed.dateTrackedStr = dateTracked;
    
    return newsFeed;
    
}

@end
